<template>
    <div class="top">
      <img v-if="!hideLogo" src="../../../static/img/gq/logo.png" />
      <p class="txt">股票代码:870517</p>
      <div class="title">
        <slot name="topTitle"></slot>
      </div>
    </div>
</template>

<script>
export default {
  props: {
    hideLogo: {
      type: Boolean,
      default: () => {
        return false;
      }
    }
  }
}
</script>


<style lang="scss" scoped>
@import "../../styles/base/_parameters";

.top {
  display: flex;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 120px;
  img {
    position: absolute;
    top: 40px;
    left: 47px;
    width: 112px;
    height: 42px;
  }
  .txt {
    position: absolute;
    top: 85px;
    left: 47px;
    z-index: 1;
    color:#28E787;
    font-size:16px;
  }
  .title {
    width: 520px;
    height: 99px;
    margin: auto;
    margin-top: -18px;
    color: #28E787;
    font-size: 42px;
    font-weight: bold;
    line-height: 112px;
    text-align: center;
  }
}
</style>

